import request from '/@/utils/request';
export const auditRecordPage = (data?: Object) => {
	return request({
		url: '/admin/V1/admin/auditRecord/page',
		method: 'post',
		data: data,
	});
};

export const auditRecordId = (data?: Object) => {
	return request({
		url: '/admin/V1/admin/auditRecord/getDetail',
		method: 'post',
		data,
	});
};

export const auditRecordAudit = (data?: Object) => {
	return request({
		url: '/admin/V1/admin/auditRecord/audit',
		method: 'post',
		data,
	});
};
export const userAuditSummaryPage = (data?: Object) => {
	return request({
		url: '/admin/V1/admin/userAuditSummary/page',
		method: 'post',
		data,
	});
};
export const getAuthorWorksPage = (data?: Object) => {
	return request({
		url: '/admin/V1/admin/userAuditSummary/getAuthorWorksPage',
		method: 'post',
		data,
	});
};
export const getUserAuditSummaryDetail = (data?: Object) => {
	return request({
		url: '/admin/V1/admin/userAuditSummary/getUserAuditSummaryDetail',
		method: 'post',
		data,
	});
};
export const getByBizIdAndDataType = (data?: Object) => {
	return request({
		url: '/admin/V1/admin/auditRecord/getByBizIdAndDataType',
		method: 'post',
		data,
	});
};
